﻿using BaseAuthRole.AspNetCore;
using BaseAuthRole.AspNetCore.Filters;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using RS.BaseModel;

namespace BaseAuthRoleSDK.Web.Api
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class TestController : ControllerBase
    {
        private IBaseAuthClient baseAuthClient;

        public TestController(IBaseAuthClient baseAuthClient)
        {

            this.baseAuthClient = baseAuthClient;

        }
  
        //[AppAccessCheckFilter]
        [ApiAuthCheckFilter]
        [HttpGet]
        public IActionResult GetUserInfoList([FromQuery] BaseAppAndUserInputModel model)
        {

            return Ok(model);

        }

    }
}
